Leadtools.Annotations Namespace > AnnObject Class : SetFixedState Method |
public virtual void SetFixedState( bool fixedState, bool adjust )
'Declaration Public Overridable Sub SetFixedState( _ ByVal fixedState As Boolean, _ ByVal adjust As Boolean _ )
'Usage Dim instance As AnnObject Dim fixedState As Boolean Dim adjust As Boolean instance.SetFixedState(fixedState, adjust)
public virtual void SetFixedState( bool fixedState, bool adjust )
function Leadtools.Annotations.AnnObject.SetFixedState( fixedState , adjust )
public: virtual void SetFixedState( bool fixedState, bool adjust )
Passing true for the 'bAdjust' parameter automatically adjusts size and location of the AnnObject before fixing or un-fixing the annotation object. The result is the annotation object will not jump around as you change its fixed state.
If you pass false for the 'bAdjust' parameter, the AnnObject can move or resize if the AnnContainer has a Transform other than the identity matrix.
To fix an annotation object where the size of the font of its text or the width of all pens used to draw it is fixed, use FixedState.
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