VCGetNameViewExtents
VCSetNameViewExtents


Version:

6.0.1

Description:

Receive or set the extents for a named view

Declaration:

 

C/C++

extern "C" void WINAPI VCGetNameViewExtents(char* szView, Point2D* ptLL, Point2D* ptUR);
extern "C" void WINAPI VCSetNameViewExtents(char* szView, Point2D* ptLL, Point2D* ptUR);

Delphi

procedure VCGetNameViewExtents(szView: PAnsiChar; var ptLL: Point2D; var ptUR: Point2D); stdcall;
procedure VCSetNameViewExtents(szView: PAnsiChar; var ptLL: Point2D; var ptUR: Point2D); stdcall;

ActiveX/COM

Sub GetNameViewExtents(ByVal szView As String, ptLL As Point2D, ptUR As Point2D)
Sub SetNameViewExtents(ByVal szView As String, ptLL As Point2D, ptUR As Point2D)

Parameters:

szView - name of the view
ptLL - Point2D structure for the lower-left corner of the view, in world coordinates
ptUR - Point2D structure for the upper-right corner of the view, in world coordinates

Return Value:

iError Code:

Named views are useful whenever a specific screen view needs to be accessed repeatedly for drawing or editing. The view is returned with VCZoomView.

Notes:

See Also:

VCNameView, VCZoomView, VCGetNameView, VCGetNameViewCount, VCDeleteNameView