Nevron .NET Vision Documentation
SizeToDocument Method

Resizes the canvas to fit the unscaled document bounds
Public Overridable Function SizeToDocument() As System.Boolean
Dim instance As NCanvas
Dim value As System.Boolean
value = instance.SizeToDocument()
public virtual System.bool SizeToDocument()

Return Value

true if the operation completed successfully, otherwise false
This operation will set the ScaleX and ScaleY properties to 1, and will change the CanvasSize property

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


NCanvas Class
NCanvas Members

Send Feedback