The CADGetViewPortParams function returns a list of ViewPort’s border points.
Syntax
Declare Function CADGetViewPortParams Lib "CADImporter.dll" (
ByVal Index As Long,
ByRef EData As CADData,
Param As Variant) As Boolean
Parameters
Index  | 
Specifies an index of 4-byte pointers to the border points starting from EData.Points.  | 
EData  | 
Contains the ViewPort's data.  | 
Param  | 
A two-dimensional array of Double type, where elements 0, 1, 2 correspond to the X, Y, Z coordinates of the point, initialized in the following way: Dim Massiv As Variant … FCount = CADGetViewPortPointsCount(K, EData) ReDim Massiv(FCount - 1, 2) K = K + FCount + I I = I + 1 … directly before the function call. Note: Index must indicate the element passed to the CADGetViewPortPointsCount function 
  | 
Return Value
If the function succeeds, the return value is true. 
If the function fails, the return value is false. 
See Also
CADEnum | CADGetViewPortPointsCount
© 2003-2025 CADSoftTools
Go to CAD DLL