YOU CAN CODE!

 

With The Case Of UCanCode.net  Release The Power OF  Visual C++ !   HomeProducts | PurchaseSupport | Downloads  
Download Evaluation
Pricing & Purchase?
E-XD++Visual C++/ MFC Products
Overview
Features Tour 
Electronic Form Solution
Visualization & HMI Solution
Power system HMI Solution
CAD Drawing and Printing Solution

Bar code labeling Solution
Workflow Solution

Coal industry HMI Solution
Instrumentation Gauge Solution

Report Printing Solution
Graphical modeling Solution
GIS mapping solution

Visio graphics solution
Industrial control SCADA &HMI Solution
BPM business process Solution

Industrial monitoring Solution
Flowchart and diagramming Solution
Organization Diagram Solution

Graphic editor Source Code
UML drawing editor Source Code
Map Diagramming Solution

Architectural Graphic Drawing Solution
Request Evaluation
Purchase
VX++ Cross-Platform C/C++
Overview
Download
Purchase
ActiveX COM Products
Overview
Download
Purchase
Technical Support
  General Q & A
Discussion Board
Contact Us

Links

Get Ready to Unleash the Power of UCanCode .NET

 

E-XD++ Enterprise Edition -- Product Information


15. Grid line

Grid line is used to adjust shape's position on canvas. E-XD++ supports 3 different styles for grid line by default:

enum FO_GRIDLINE_TYPE
{
GRID_CROSSLINE = 0, // Cross grid line
GRID_DOT, // Dot grid line.
GRID_RECTANGLE // Rectangle grid line.
};

You can switch from one style to another by using "void SetGridLineType(const FO_GRIDLINE_TYPE nType);". The following sample uses the style GRID_CROSSLINE.

More styles for grid line can be defined by overwriting class CFOBackShape:

// Draw the grid.
// pDC -- pointer of CDC.
// rect -- position of page.
// rcClip -- Clip rectangle for drawing.
virtual void OnDrawGrid(CDC *pDC,CRect &rect,const CRect &rcClip);

 

Copyright ?1998-2023 UCanCode.Net Software , all rights reserved.
Other product and company names herein may be the trademarks of their respective owners.

Please direct your questions or comments to webmaster@ucancode.net