Properties
DrawingBox
#Gets the 2D domain of the diagram in image coordinates.
public Rectangle DrawingBox { get; }
IgnoreSelectedStates
#Gets or sets the Ignore Selected State flag. When set to True, selected objects are not drawn in a different colour.
Image
#Gets the diagram image (only available after a call to PaintDiagram().
public Bitmap Image { get; }
Methods
MapPoint
#public Point MapPoint()
Point
pt
MapPoint
#public PointF MapPoint()
PointF
pt
MapRectangle
#public Rectangle MapRectangle()
Rectangle
rec
PaintDiagram
#Paint a diagram of a document.
public bool PaintDiagram()
objs,
Objects to paint.
approx_size,
Approximate size along each side.
inflate
Padding around the objects.
Returns: True on success, false on failure.
PaintDiagram
#Paint a diagram of a document.
public bool PaintDiagram()
objs,
Objects to paint.
mapWidth,
Width (in pixels) of diagram.
mapHeight,
Height (in pixels) of diagram.
inflate
Padding around the objects.
Returns: True on success, false on failure.
UnmapPoint
#public Point UnmapPoint()
Point
pt
UnmapRectangle
#public Rectangle UnmapRectangle()
Rectangle
rec