BCGControlBar Library for .NET
IsPrintMode Property




Specifies that the grid is working in print mode.
Syntax
'Declaration
 
Public Property IsPrintMode As Boolean
'Usage
 
Dim instance As GridControl
Dim value As Boolean
 
instance.IsPrintMode = value
 
value = instance.IsPrintMode
public bool IsPrintMode {get; set;}
public: __property bool get_IsPrintMode();
public: __property void set_IsPrintMode( 
   bool value
);
public:
property bool IsPrintMode {
   bool get();
   void set (    bool value);
}
Remarks
You should take this property into account if you implement any custom drawing algorithms.  For example, TextRenderer::DrawText should be avoided in print mode.
Requirements

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

Reference

GridControl Class
GridControl Members

Send Feedback