VCGetSystemHatchName


Version:

1.2

Description:

Used to retrieve the pattern name from the system hatches at the corresponding input index.

Declaration:

 

C/C++

extern "C" short WINAPI VCGetSystemHatchName(short* iError, char* pName, short i);

Delphi

function VCGetSystemHatchName(var iError: Smallint; pName: PAnsiChar; i Smallint):Smallint; stdcall;

ActiveX/COM

Function GetSystemHatchName(ByVal i As Integer) As String

Parameters:

pName - the returned string representing the hatch pattern name
i - the index for the hatch pattern name to retrieve

Return Value:

The length of the name in bytes, not including the terminating NULL

Notes:

With Visual CADD™, the user can modify existing or create custom hatch patterns. The default hatch patterns are contained in the file Hatches.vchat and other .vchat files which may be referenced in Hatches.vchat. Additional patterns may be loaded from VCD files. VCGetSystemHatchName is used to retrieve the hatch name for a pattern at the given index.

See Also:

VCGetSystemHatchNameCount