SuperMap.Layout
The ElementEventArgs class that provides data for ElementDeleting, ElementAdded, ElementModifying, and ElementModified.
Builds a new object according to the parameters.
Edits the ID of the layout element.
Indicates whether to cancel corresponding operations when the parameter class acts as the parameter event.
returns the string which describes the instance of object.the format is as {ID=,Cancel=}.
The string describing the object instance.
Gets the ID of the layout element being edited
Gets or sets whether to cancel the event. True indicates to cancel; while false indicates not.
The method for ElementDeleting, ElementAdded, ElementModifying, and ElementModified.
The source event.
The LayoutClearingEventArgs class.
Provides data for ElementSelectChanged event.
builds a new instance of this class
The specified count of the selected layout elements.
Gets the count of the selected layout elements.
The method for ElementSelectChanged event.
The source event.
The ElementSelectChangedEventArgs class object.
Provides data for ElementSelected event.
builds a new instance for this class
The specified count of the selected layout elements.
returns the string which describes the instance of object.The format is {Count=}.
The string describing the object instance.
Gets the count of the selected layout elements.
The method class for ElementSelected.
The source event.
A ElementSelectedEventArgs class.
The LayoutElements class.
Adds new instance to the LayoutElement class.
Add the geometry object to the layout elements.
Returns true if successful; otherwise false.
Deletes the current object in the LayoutElements class, returns true if successful.
Returns true if successful; otherwise false.
Deletes the layout elements object in the LayoutElements class by the specified array of ID.
The specified ID array.
The count of the object deleted successfully.
Deletes all the layout elements object in the LayoutElements class.
Returns true if successful; otherwise false.
Gets the Geometry object in the current layout element.
Returns the Geometry object in the Layout if successful; otherwise null.
Gets the ID of the Geometry object in the current Layout.
The ID of the Geometry object.
Moves the pointer in the current layout element, returns true if successful.
The number of rows to move.
Returns true if successful; otherwise false.
Moves the pointer in the current layout element to the first layout element, returns true if successful.
Returns true if successful; otherwise false.
Moves the pointer in the current layout element to the last layout element. Returns true if successful.
Returns true if successful; otherwise false.
Moves the pointer in the current layout element to the next layout element. Returns true if successful.
Returns true if successful; otherwise false.
Moves the pointer in the current layout element to the previous layout element. Returns true if successful.
Returns true if successful; otherwise false.
Moves the pointer in the current layout element to the specified layout element. Returns true if successful.
The specified position, namely the ID of record to which the current record position moved. The position starts from zero, that is, MoveTo(0) is equivalent to MoveFirs().
Returns true if successful; otherwise false.
Refreshes the layout elements.
Returns true if successfully modified; otherwise false.
Seeks the layout element by the specified ID in the LayoutElements class, and pitches the pointer in the current layout element to the specified layout element.
The ID to be searched.
Returns true if successful; otherwise false.
Modifies the Geometry object in the current position of the LayoutElements class, and replaces the old Geometry object in the LayoutElements class. Returns true if successful.
The new layout element geometry object that is used to cover previous layout element geometry object.
True if successful; otherwise, false.
Modifies the layout element label whose ID is specified in the layout element collection to cover previous layout element label.
The specified layout element ID.
The specified new layout element label which is used to cover the previous layout element label.
Returns true if successful, otherwise false.
Gets the layout element label according to the specified layout element ID of the layout element collection.
The specified layout element ID.
If successful, it returns the corresponding layout element with the specified ID, otherwise returns null.
Seeks the layout element by the specified ID in the LayoutElements class, and pitches the pointer in the current layout element to the specified layout element.
The specified layout element tag.
Returns true if successful, otherwise false.
Gets the count of the object in the LayoutElements class.
Indicates whether the current pointer is positioned at the start in the LayoutElements object. If it is returns true; otherwise returns false.
Indicates whether the current pointer is positioned at the end in the LayoutElements object. If it is returns true; otherwise returns false.
Decides whether the LayoutElements object is empty. True means empty.
Map CustomDisplay type, used in user customizing object.
Draws a Geometry object.
The specified geometry object to be drawn.
Draws the Geometry object in batch. This interface only can be drawn in the same style.
The batch drawn Geometry object array
The style in drawing
Gets the Graphics objects. Users can use this object to draw the custom object
The LayoutSelection class.
Initializes a new instance of the LayoutSelection class.
Initializes a new instance of the LayoutSelection class which is identical with the specified LayoutSelection object.
The specified LayoutSelection object.
Adds new Geometry object to the LayoutSelection object by the specified ID.
The geometry object ID in the layout that is added to the selection collection object.
Adds Geometry object to the LayoutSelection object by the specified array of ID.
The specified Geometry ID array.
The count of newly added objects.
Removes the specified geometric object from the selection and makes it unselected.
The ID of the object to delete.
True if successful; otherwise, false.
Deletes the specified Geometry objects by the given index of the first Geometry object to be deleted, and the given count of the Geometry object to be deleted. These Geometry objects change from the state of selected to the state of unselected.
The index of the first geometric object to delete.
Removes the specified geometric objects from the selection and makes them unselected.
Clears the collection of the LayoutSelection. After this operation, the selected object will change to the state of unselected.
Releases all resources that the object occupies.
Returns the count of the Geometry object in the LayoutSelection class.
Gets the ID of the specified Geometry object in the collection of LayoutSelection.
The specified ID of the Geometry object in the LayoutSelection class.
Gets or sets the style of the Geometry object.
The default value is {FillBackColor=Color [A=255, R=255, G=255, B=255],FillForeColor=Color [A=255, R=189, G=235, B=255],FillGradientAngle=0,FillGradientMode=None,FillGradientOffsetRatioX=0,FillGradientOffsetRatioY=0,FillOpaqueRate=100,FillSymbolID=0,LineColor=Color [A=255, R=0, G=0, B=0],LineSymbolID=0,LineWidth=0.1,MarkerAngle=0,MarkerSize={Width=2.4,Height=-0.1},MarkerSymbolID=0}.
Provides data for the Drawing event.
Layout Event class. it's the base class of this type
builds a new object based on specified object
The specified object of the layout.
Gets the Layout object.
Builds a new instance of this class
The specified object of the layout.
A value indicating whether the event should be canceled.
Constructs a new MapLayoutDrawingEventArgs object according to the given arguments.
The MapLayout object specified.
The value indicating whether the event should be canceled or not. True if the event should be canceled; otherwise, false.
The custom object drawn by user.
Gets or sets a value indicating whether the event should be canceled. True indicates to cancel and false indicates the opposite.
Gets the custom object drawn by user.
The method class for Drawing.
The source event.
A MapLayoutDrawingEventArgs class that contains the event data.
provide data for the Drawn event.
Initializes a new instance for the MapLayoutDrawnEventArgs class according to the specified parameters.
The specified object of the layout.
Constructs a new MapLayoutDrawnEventArgs object according to the given arguments.
The MapLayout object specified.
The custom object drawn by user.
Gets the custom object drawn by user.
The Drawn event class.
The source event.
A MapLayoutDrawnEventArgs that contains the event data.
Layout the custom element drawing parameters.
Converts the coordinates of the specified point to the pixel coordinates in layout map.
The specified point whose coordinates are to be transformed.
Returns the converted coordinate value.
Gets the Graphics objects. Users can use this object to draw the custom object
Gets the object drawn by user.
Gets or sets a value indicating whether the event should be canceled. True indicates to cancel and false indicates the opposite.
Gets whether the layout is in the printing status. It is in the printing status if it is true; otherwise, false.
Represents the method class of drawing custom object event (GeoUserDefindedDrawing)
The source event.
A MapLayoutDrawingEventArgs class that contains the custom object drawing event parameter of the event data.
The Paper class.
Gets or sets the color of the background in the Paper.
Gets or sets the orientation of the Paper.
Gets or sets the width of the Paper. The unit is the unit which is set in the Paper.Unit.
Gets or sets the height of the Paper. The unit is the unit which is set in the Paper.Unit.
Gets or sets the size of the Paper.
Gets the margin of the Paper.
Gets or sets the GridSetting object.
Gets or sets whether the paper is visible.
The MapLayout class.
Initializes a new instance of the MapLayout class.
Initializes a new instance of the MapLayout class with the Workspace object.
Gets an instance of Workspace.
Initializes a new instance of the MapLayout attached to IContainer.
The specified IContainer object.
Open the existed layout in the workspace, and display it in the layout window.
The name of the existing layout in the workspace.
Returns true if successful; otherwise false.
Loads the template of the layout.
The full path name of the layout template file.
Returns true if successful; otherwise false.
Saves as Layout template.
The full path name of the layout template file.
Returns true if successful; otherwise false.
Zooms the paper to fit the layout window.
Zooms the paper to the extent of the layout window according to the width of the paper.
outputs the content to JPG file
The full path of the output JPG file.
The DPI of the output image.
The compression level of the output JPG image ranges from 10 to 100. The smaller the value is, the higher the compression rate is, and the image quality is accordingly lower. Here, the value of 100 means no compression.
Returns true if successful, otherwise false.
Zooms the paper to the extent of the layout window according to the height of the paper.
Zooms the paper according to the zoom ratio. The scale of the zoomed paper is obtained by multiplying the original scale and the scale ratio. The number or quantity obtained by multiplying two or more numbers together.
The zooming scale.
Moves the Layout object.
The moving distance in X direction.
The moving distance in Y direction.
Refreshes the layout.
Transforms the pixel coordinate to the layout coordinate.
The pixel coordinate value that will be converted into the layout coordinate.
The layout coordinates.
Transforms the layout coordinate to the pixel coordinate.
The layout coordinate value that will be converted into the pixel coordinate.
The pixel coordinates.
Converts the layout coordinates of the specified point to the logical coordinates.
The layout coordinate value that will be converted into the logical coordinate.
The logical coordinates.
Converts the logical coordinates of the specified point to the layout coordinates.
The logical coordinate value that will be converted into the layout coordinate.
The layout coordinates.
Converts the logical coordinates of the specified point to the pixel coordinates.
The logical coordinate value that will be converted into the screen coordinate.
The screen coordinates.
Converts the pixel coordinates of the specified point to the logical coordinates.
The screen coordinate value that will be converted into the logical coordinate.
The screen coordinates.
outputs the layout to BMP file
The full path of the exported BMP file.
The given output resolution uses the screen resolution.
Returns true if successful; otherwise false.
Outputs the visible extent of the layout to JPG file. When outputting without a layout view, the output extent is decided by the ImageSize property.
The full path of the output JPG file.
Returns true if successful; otherwise false.
Outputs the layout to PNG file.
The full path of the output PNG file.
Specifies whether the background is transparent.
Returns true if successful; otherwise false.
Outputs the layout to EPS file.
The full path of the exported EPS file.
Returns true if successful; otherwise false.
Outputs the layout to EMF file.
The full path of the output EMF file.
Returns true if successful; otherwise false.
Outputs the visible extent of the layout to memory images. When outputting without a layout view, the output extent is decided by the ImageSize property.
The memory image object.
Closes current layout.
Creates a MapLayout object with the specified character string which is xml format.
The specified XML string.
True, if successful; Otherwise false.
Returns the description of the MapLayout object which is the character string of xml.
Returns the description of the MapLayout object which is the character string of xml.
Outputs the layout to GIF file.
The full path of the output GIF file.
Specifies whether the background is transparent.
True if successful; otherwise false.
Pans the layout to the specified bounds.
The specified display extent.
Returns true if successful; otherwise false.
Outputs all the content within the paper extent of the layout to file. This method supports setting for output file type and the DPI output format. For a large sheet of map with high-volume data, you can use this interface to output the map to a certain type of high-resolution image, and then print the map.
The full path of the output file.
Sets the type for the output image.
The number of dots per inch for image output.
Returns true if successful, otherwise false.
Outputs all the content within the paper extent of the layout to file. This method supports setting for output file type and the DPI output format. For a large sheet of map with high-volume data, you can use this interface to output the map to a certain type of high-resolution image, and then print the map.
The full path of the output file.
Sets the type for the output image.
The number of dots per inch for image output.
Indicates whether to export a map to multiple pages. True means exporting the map to multiple pages, and false means exporting the map to a single page.
Returns true if successful, otherwise false.
returns the collection of selected layout elements. If the is distance between the specified point and the nearest point in the layout element is less than the tolerance, then the layout element is selected. If there are more than one layout elements meet the condition. Then they will all be selected and returned with a collection of them.
The specified point object.
The specified tolerance.
The collection of the selected layout elements.
Sets the layout page (excluding margins) to fit the extent of all geometry objects, i.e. adjusting the size of the layout page into the minimum bounding rectangle of all geometry objects in the layout.
Returns true if successful, otherwise false.
Output the layout as a PDF file.
Specify the path to save the PDF file, the path is the full path containing the file name.
When the layout output is PDF, if the layout contains raster type map data or illustrated pictures in the layout, you can specify the output resolution here. The default value is 96.
The output returns true if successful; otherwise, it returns false.
The event occurs when drawing the layout.
The event occurs after the drawing on the layout finished.
Gets or sets the name of the Layout object.
The default value is UntitledPlacemark.
Gets the Paper object.
The default value is an empty Paper object.
Gets or sets whether to display the preview.
The default is False.
Gets the Printer object.
The default value is an empty Printer object.
Gets the RulerLines object.
The default value is an empty RulerLines object.
Gets the RulerSetting object.
The default value is an empty RulerSetting object.
Gets or sets the bound of the viewable scale of the layout.
The default value is {Left=-200,Bottom=-200,Right=1900,Top=2770}.
Gets or sets the bound of the viewable scale of the layout.
The default value is {Left=-855.326409495549,Bottom=-420.326409495549,Right=2555.32640949555,Top=2990.32640949555}.
Gets or sets the center point of the layout.
The default value is X=850,Y=1285 .
Gets or sets the zoom ratio of the current layout.
The default value is 1.97616E-05.
Gets or sets the maximum zoom ration of the layout.
The default value is 1E+12.
Gets or sets the minimum zoom ration of the layout.
The default value is 0.
Gets or sets the count of the horizontal papers.
The default value is 1.
Gets or sets the count of the vertical papers.
The default value is 1.
Gets or sets the workspace of the Layout object.
The default value is null.
Gets the collection of the layout elements in the Layout object.
The default value is an empty LayoutElements object.
Gets or sets the collection of the layout elements in the Layout object.
The default value is {Width=256, Height=256}.
Gets or sets the selection of the MapLayout object.
The default value is an empty LayoutSelection object.
The value of the logical DPI and the value of the device DPI is more similar, the print effect is better. If you need higher print effect, the value of this property needs to be larger, but this will cost much more memory.
The default value is {FillBackColor=Color [A=255, R=255, G=255, B=255],FillForeColor=Color [A=255, R=189, G=235, B=255],FillGradientAngle=0,FillGradientMode=None,FillGradientOffsetRatioX=0,FillGradientOffsetRatioY=0,FillOpaqueRate=100,FillSymbolID=0,LineColor=Color [A=255, R=0, G=0, B=0],LineSymbolID=0,LineWidth=0.1,MarkerAngle=0,MarkerSize={Width=2.4,Height=-0.1},MarkerSymbolID=0}.
Gets the ruler in the layout.
Gets the ruler of the layout.
Gets or sets whether the layout is modified or not.Gets or sets whether the overlapping of texts or graph map is displayed or not.
Gets or sets the length of overlap part in millimeters when outputting a map to multiple pages.
Gets or sets whether to active the text antialias function.
Gets or sets whether to active the line antilias function.
The event occurs when drawing the custom objects.
The MapLayoutControl class.
Initializes a new instance of the MapLayoutControl class.
Executes the operation of redoing, returns whether the redoing is successful.
Returns true if successful; otherwise false.
Executes the operation of undoing, returns whether the undoing is successful.
Returns true if successful; otherwise false.
Executes the operation of copying, returns whether the copying is successful.
Returns true if successful; otherwise false.
Executes the operation of cutting, returns whether the cutting is successful.
Returns true if successful; otherwise false.
Executes the operation of pasting, returns whether the pasting is successful.
Returns true if successful; otherwise false.
Executes the operation of deleting, returns whether the pasting is successful.
Returns true if successful; otherwise false.Aligns the selected objects, the last selected object is the base objects. Return true if successful.Element align.Returns true if successful; otherwise false.Makes the width of selected objects equal to the base object, the last selected objects is the base object. Return true if successful.Returns true if successful; otherwise false.Makes the height of selected objects equal to the base object, the last selected objects is the base object. Return true if successful.Returns true if successful; otherwise false.Makes the size of selected objects equal to the base object, the last selected objects is the base object. Return true if successful.Returns true if successful; otherwise false.Makes the vertical spacing equal of the selected objects. Return true if successful.Returns true if successful; otherwise false.Makes the horizontal spacing equal of the selected objects. Return true if successful.Returns true if successful; otherwise false.Makes the vertical and horizontal spacing both equal of the selected objects. Return true if successful.Returns true if successful; otherwise false.Moves the selected object position forward. Return true if successful.Returns true if successful; otherwise false.Moves the selected object position backward. Return true if successful.Returns true if successful; otherwise false.Moves the selected object position to the top. Return true if successful.Returns true if successful; otherwise false.Moves the selected object position to the bottom. Return true if successful.Returns true if successful; otherwise false.
Implements the operation of the layer element combination.
Returns true if successful; otherwise false.
Implements the operation of the layer element division.
Returns true if successful; otherwise false.
Gets or sets whether the waiting cursor in the current map window is available.
The default value is true.
Gets or sets whether the custom cursor change in this MapControl is valid or not.
The default value is false.
Occurs when editing the handle moving.
The event occurs when the action of MapLayoutControl changes.
The event occurs when the Geometry object is selected.
The event occurs after deleting the Geometry object.
The event occurs when deleting the Geometry object.
triggered when the geometry object selected in the layout changes
The event occurs when a Geometry object is added to the current layout.
The event occurs when modifying the Geometry object in the layout.
The event occurs when the Geometry object in the current layout is modified.
The event occurs when tracking the drawing Geometry object in the current layout.
The event occurs when the drawing of the Geometry object in the current layout is finished.
The event occurs when the point is inputted in the current layout.
The event occurs when changing the action cursor in the current layout. The custom of the action cursor can be available by this event.
Gets the Layout object.
Gets or sets the ID of active Map object.
Gets or sets the Action object in the locked layout.
The default value is of the Point type.
Gets or sets the Action object in the layout.
The default value is of the Select2 type.
Gets or sets the track of the MapLayoutControl object's drawing action.
The default value is of the Edit type.
Gets or sets whether to display the horizontal scrollbar.
The default value is true.
Gets or sets whether to display the vertical scrollbar.
The default value is true.
Gets whether the redoing operation is available in the current window.
The default is False.
Gets whether the undoing operation is available in the current window.
The default is False.
Gets whether the cutting operation is available in the current window.
The default is False.
Gets whether the copying operation is available in the current window.
The default is False.
Gets whether the pasting operation is available in the current window.
The default is False.
gets the edit history of layout space
Gets whether the deleting operation is available in the current window.
The default value is false.
Gets the current active map object. When the state is not active, the property is null.
Gets or sets whether the grid can be snapped. The default value is false.
Gets or sets whether to support the instant refreshing when any element editing is finished.
The default value is true, indicating instant refreshing at the end of element editing is supported.
Gets or sets a value indicating whether to only refresh local changed area when panning.
The default value is true, indicating refreshing only the changed region when panning is supported.
This class is the nested class of the MapControl class. This class is used to provide the cursor style in the map window. The property of this class is initialized when first calling it. It will find the relevant cursor file in the specified directory which is BinMappingCursors, if there is no cursor file needed, it will find it in the resources.
Gets or sets the cursor when it is busy in the layout window.
Gets or sets the common cursor in the layout window.
Gets or sets the cursor in the layout window when scrolling in the left direction.
Gets or sets the cursor in the layout window when scrolling in the right direction.
Gets or sets the cursor in the layout window when scrolling up.
Gets or sets the cursor in the layout window when scrolling downwards.
Gets or sets the cursor in the layout window when scrolling in the direction of top left corner.
Gets or sets the cursor in the layout window when scrolling in the direction of top right corner.
Gets or sets the cursor in the layout window when scrolling in the direction of bottom right corner.
Gets or sets the cursor in the layout window when scrolling in the direction of bottom left corner.
Gets or sets the cursor in the layout window when zooming layout in/out.
Gets or sets the cursor in the layout window when zooming layout in/out extendedly.
Gets or sets the cursor in the layout window when panning the layout.
Gets or sets the cursor in the layout window when panning the layout at real time.
Gets or sets the cursor in the layout window when zooming layout in.
Gets or sets the cursor in the layout window when zooming layout out.
Gets or sets the cursor in the layout window when selecting objects.
Gets or sets the cursor in the layout window when selecting objects by clicking or dragging a rectangle.
Gets or sets the cursor in the layout window when selecting objects by drawing a circle.
Gets or sets the cursor in the layout window when selecting objects by drawing a polygon.
Gets or sets the cursor in the layout window when selecting objects by drawing a line.
Gets or sets the cursor when drawing points in the map window.
Gets or sets the cursor when drawing segments in the layout window.
Gets or sets the cursor when drawing polylines in the layout window.
Gets or sets the cursor when drawing elliptic arcs in the layout window.
Gets or sets the cursor when drawing arcs with 3P in the layout window.
Gets or sets the cursor when drawing curves in the layout window.
Gets or sets the cursor when drawing a rectangle in the layout window.
Gets or sets the cursor when drawing a rounded rectangle in the layout window.
Gets or sets the cursor when drawing a circle in the layout window.
Gets or sets the cursor when drawing circles with 2P in the layout window.
Gets or sets the cursor when drawing circles with 3P in the layout window.
Gets or sets the cursor when drawing an ellipse in the layout window.
Gets or sets the cursor when drawing an oblique ellipse in the layout window.
Gets or sets the cursor when drawing polygons in the layout window.
Gets or sets the cursor when drawing texts in the layout window.
Gets or sets the cursor when drawing texts along line in the layout window.
Gets or sets the cursor when drawing parallels in the layout window.
Gets or sets the cursor when drawing pies in the layout window.
Gets or sets the cursor when drawing a parallelogram in the layout window.
Gets or sets the cross cursor in the layout window.
Gets or sets the circumrotation cursor in the layout window.
Gets or sets the I-shaped cursor in the layout window.
Gets or sets the cursor when moving in the layout window.
Gets or sets the cursor when moving in the direction of north and south in the layout window.
Gets or sets the cursor when moving in the direction of east and west in the layout window.
Gets or sets the cursor when moving in the direction of northwest and southeast in the layout window.
Gets or sets the cursor when moving in the direction of northeast and southwest in the layout window.
Gets or sets the cursor of the point snapping in the layout window.
Gets or sets the cursor of the vertex snapping in the layout window.
Gets or sets the cursor of the midpoint snapping in the layout window.
Gets or sets the cursor of the line snapping in the layout window.
Gets or sets the cursor of the vertical snapping in the layout window.
Gets or sets the cursor of the parallel snapping in the layout window.
Gets or sets the cursor of the base point of rotation in the layout window.
Gets or sets the cursor of selecting with the rectangle in the layout window.
Gets or sets the cursor of creating the north arrow in the layout window.
Gets or sets the cursor of creating the map scale in the layout window.
Gets or sets the cursor of creating the GeoLegend object in the map window.
Gets or sets the cursor of selecting the horizontal ruler line in the layout window.
Gets or sets the cursor of selecting the vertical ruler line in the layout window.
Gets or sets the cursors for creating free curve in the layout window.
Gets or sets the cursors of map in the layout window
Gets or sets the cursors for creating free curve in the layout window.
gets or sets the cursors of Cardinal object in the layout window
The PaperMargin class.
Initializes a new instance of the PaperMargin class. The values of all the page margins equal the specified value.
Specify a value as the value of all margins of the paper object.
Initializes a new instance of the PaperMargin class according to the parameters.
The left margin of the paper.The right margin of the paper.The top margin of the paper.The bottom margin of the paper.
Returns the character string describing the PaperMargin object. The format is that "Left=%f,Right=%f,Top=%f,Bottom=%f", left, bottom,right, top.
The character string describing the PaperMargin object.
Tests whether the two objects are equal. If the given object is also a PaperMargin object and the properties such as Left, Bottom, Right and Top of the two PaperMargin objects are equal separately the two objects are equal.
The object to be tested.Returns true if the given object is also a PaperMargin object and the properties such as Left, Bottom, Right and Top of the two PaperMargin objects are equal separately the two objects are equal; otherwise false.
Determines whether the two PaperMargin objects are equal. If the Left, Bottom, Right and Top properties of the two PaperMargin objects are equal respectively, the two PaperMargin objects are equal.
The PaperMargin object to test.Returns true if the Left, Bottom, Right and Top properties of the two PaperMargin objects are equal respectively; otherwise false.
Determines whether the two PaperMargin objects are equal. If the Left, Bottom, Right and Top properties of the two PaperMargin objects are equal respectively, the two PaperMargin objects are equal.
The PaperMargein object to compare.The PaperMargein object to compare.Returns true if the Left, Bottom, Right and Top properties of the two PaperMargin objects are equal respectively; otherwise false.
Tests whether the two PaperMargin objects are not equal. If the properties such as Left, Bottom, Right and Top of the two PaperMargin objects exist unequal the two PaperMargin objects are not equal.
The PaperMargein object to compare.The PaperMargein object to compare.Returns true if the properties such as Left, Bottom, Right and Top of the two PaperMargin objects exist unequal the two PaperMargin objects are not equal; otherwise false.
Returns the hash code of the PaperMargin object.
Returns the hash code of the PaperMargin object.
Gets or sets the top margin of the page, the unit is millimeter.
The default value is 200.
Gets or sets the bottom margin of the page, the unit is millimeter.
The default value is 200.
Gets or sets the left margin of the page, the unit is millimeter.
The default value is 200.
Gets or sets the right margin of the page, the unit is millimeter.
The default value is 200.
Defines the enumeration of the paper orientations.
Portrait.
Landscape.
Defines the enumeration of the paper sizes.
Letter 8 1/2 x 11 in
Letter Small 8 1/2 x 11 in
Tabloid 11 x 17 in
Ledger 17 x 11 in
Legal 8 1/2 x 14 in
Statement 5 1/2 x 8 1/2 in
Executive 7 1/4 x 10 1/2 in
A3 297 x 420 mm
A4 210 x 297 mm
A4 Small 210 x 297 mm
A5 148 x 210 mm
B4 (JIS) 250 x 354 mm
B5 (JIS) 182 x 257 mm
Folio 8 1/2 x 13 in
Quarto 215 x 275 mm
10x14 in
11x17 in
Note 8 1/2 x 11 in
Envelope #9 3 7/8 x 8 7/8
Envelope #10 4 1/8 x 9 1/2
Envelope #11 4 1/2 x 10 3/8
Envelope #12 4 \\276 x 11
Envelope #14 5 x 11 1/2
C size sheet
D size sheet
E size sheet
Envelope DL 110 x 220mm
Envelope C5 162 x 229 mm
Envelope C3 324 x 458 mm
Envelope C4 229 x 324 mm
Envelope C6 114 x 162 mm
Envelope C65 114 x 229 mm
Envelope B4 250 x 353 mm
Envelope B5 176 x 250 mm
Envelope B6 176 x 125 mm
Envelope 110 x 230 mm
Envelope Monarch 3.875 x 7.5 in
6 3/4 Envelope 3 5/8 x 6 1/2 in
US Std Fanfold 14 7/8 x 11 in
German Std Fanfold 8 1/2 x 12 in
German Legal Fanfold 8 1/2 x 13 in
B4 (ISO) 250 x 353 mm
Japanese Postcard 100 x 148 mm
9 x 11 in
10 x 11 in
15 x 11 in
Envelope Invite 220 x 220 mm
RESERVED--DO NOT USE
RESERVED--DO NOT USE
Letter Extra 9 \\275 x 12 in
Legal Extra 9 \\275 x 15 in
Tabloid Extra 11.69 x 18 in
A4 Extra 9.27 x 12.69 in
Letter Transverse 8 \\275 x 11 in
A4 Transverse 210 x 297 mm
Letter Extra Transverse 9\\275 x 12 in
SuperA/SuperA/A4 227 x 356 mm
SuperB/SuperB/A3 305 x 487 mm
Letter Plus 8.5 x 12.69 in
A4 Plus 210 x 330 mm
A5 Transverse 148 x 210 mm
B5 (JIS) Transverse 182 x 257 mm
A3 Extra 322 x 445 mm
A5 Extra 174 x 235 mm
B5 (ISO) Extra 201 x 276 mm
A2 420 x 594 mm,
A3 Transverse 297 x 420 mm
A3 Extra Transverse 322 x 445 mm
Japanese Double Postcard 200 x 148 mm
A6 105 x 148 mm
Japanese Envelope Kaku #2
Japanese Envelope Kaku #3
Japanese Envelope Chou #3
Japanese Envelope Chou #4
Letter Rotated 11 x 8 1/2 11 in
A3 Rotated 420 x 297 mm
A4 Rotated 297 x 210 mm
A5 Rotated 210 x 148 mm
B4 (JIS) Rotated 364 x 257 mm
B5 (JIS) Rotated 257 x 182 mm
Japanese Postcard Rotated 148 x 100 mm
Double Japanese Postcard Rotated 148 x 200 mm
A6 Rotated 148 x 105 mm
Japanese Envelope Kaku #2 Rotated
Japanese Envelope Kaku #3 Rotated
Japanese Envelope Chou #3 Rotated
Japanese Envelope Chou #4 Rotated
B6 (JIS) 128 x 182 mm
B6 (JIS) Rotated 182 x 128 mm
12 x 11 in
Japanese Envelope You #4
Japanese Envelope You #4 Rotated
PRC 16K 146 x 215 mm
PRC 32K 97 x 151 mm
PRC 32K(Big) 97 x 151 mm
PRC Envelope #1 102 x 165 mm
PRC Envelope #2 102 x 176 mm
PRC Envelope #3 125 x 176 mm
PRC Envelope #4 110 x 208 mm
PRC Envelope #5 110 x 220 mm
PRC Envelope #6 120 x 230 mm
PRC Envelope #7 160 x 230 mm
PRC Envelope #8 120 x 309 mm
PRC Envelope #9 229 x 324 mm
PRC Envelope #10 324 x 458 mm
PRC 16K Rotated
PRC 32K Rotated
PRC 32K(Big) Rotated
PRC Envelope #1 Rotated 165 x 102 mm
PRC Envelope #2 Rotated 176 x 102 mm
PRC Envelope #3 Rotated 176 x 125 mm
PRC Envelope #4 Rotated 208 x 110 mm
PRC Envelope #5 Rotated 220 x 110 mm
PRC Envelope #6 Rotated 230 x 120 mm
PRC Envelope #7 Rotated 230 x 160 mm
PRC Envelope #8 Rotated 309 x 120 mm
PRC Envelope #9 Rotated 324 x 229 mm
PRC Envelope #10 Rotated 458 x 324 mm
ISO_A2
ISO_A1
ISO_A0
ISO_B4(Europe)
ISO_B3(Europe)
ISO_B2(Europe)
ISO_B1(Europe)
ISO_B4(Japan)
ISO_B3(Japan)
ISO_B2(Japan)
ISO_B1(Japan)
User defined paper size
The Printer class.
Prints the layout.
Sets the print layout according to the pop-up dialog box.
Gets or sets the Margin object.
Gets or sets the size of the pages to be printed.
Gets or sets the orientation of the pages to be printed.
Gets or sets the count of the copies to be printed. The default of this property is one.
Gets or sets whether print the target in the form of vector or raster. True represent in the form of vector; otherwise raster.
Gets or sets the logical DPI when preprocessing the layout to be printed in the form of raster. The default is 200.
The default value is 200.
Gets or sets the start page from which to print.
Gets or sets the end page to which the print stops.
Gets or sets the device DPI of the printer.
Gets or sets the name of the printer.
Gets or sets the name of the print file, which is available when the layout is printed by virtual printer.
Gets whether the printer is valid.
Gets or sets the width of page to be printed. The unit is logical unit, this is 0.1mm. It is used when the user customize PaperSize.
Gets or sets the height of page to be printed. The unit is logical unit, this is 0.1mm. It is used when the user customize PaperSize.
This enumeration defines the constant of the image types.
Output in PNG type.
Output in JPG type.
Output in BMP type.
the TIFF format.
The Ruler class.
Gets or sets the background color of the ruler.
Gets or sets the scale color of the ruler.
Gets or sets the font color of the ruler.
The RulerLine class.
Initializes a new instance of the RulerLine class.
Initializes a new instance of the RulerLine object with the specified RulerLine object.
The RulerLine object.
Initializes a new instance of the RulerLine object with the parameters of the position and the type of the ruler line.
The ruler line position, whose unit is the same as the layout unit.The type of the ruler line.
Releases all resources that the object occupies.
Gets or sets the type of the ruler line. There are two types of the ruler line, the horizontal and the vertical.
The default value is of the Vertical type.
Gets or sets the position of the ruler line, which is indicated by the unit of the layout.
The default value is 0.
The RulerLines class.
Adds RulerLine object to the collection, returns the index of the added object if successful.
The RulerLine to be added.The index of the object to be added.
Adds RulerLine object to the collection in the format of array, returns the count of the added RulerLine object if successful.
The RulerLines to be added.Returns the count of the added RulerLine object.
Deletes the RulerLine object with the specified index in the collection, returns true if successful.
The index number of the RulerLine object.Returns true if successful; otherwise false.
Deletes the RulerLine object with the specified start index and the specified count, returns the count of the object deleted successfully.
The specified starting index.The specified count.The count of the object deleted successfully.
Clears all the RulerLine object.
Convert the RulerLine object to the array of RulerLine object.
The array of RulerLine object.
Returns an enumerator that can iterate through the collection.
An IEnumerator object used to iterate through a collection.
Gets the count of the ruler line.
Gets the specified RulerLine object with the specified index in the collection.
The index of the RulerLine object.
Gets or sets whether all the RulerLine object is visible.
Defines the enumeration of the ruler line types.
The vertical ruler line.
The horizontal ruler line.
The RulerSetting class.
Gets or sets whether the ruler is visible.