Skip to content

ViewCaptureSettings

Public Class

Holds information required to generate high resolution output of a RhinoViewport. This is used for generating paper prints or image files

Inheritance Hierarchy

System.Object
Rhino.Display.ViewCaptureSettings

Namespace: Rhino.Display

Assembly: RhinoCommon (in RhinoCommon.dll)

Syntax

public class ViewCaptureSettings : IDisposable

The ViewCaptureSettings type exposes the following members.

Constructors

Name

Description


Public Method

Construct default view capture settings


Public Method

Copy constructor


Public Method

Constructor


Public Method

Constructor


Properties

Name

Description


Public Property

Should curves and edges have their thicknesses scaled based the on the display mode settings for a view being captured (default is false)


Public Property

Arrowhead size in millimeters.


Public Property

Actual area of output rectangle that view capture is sent to.


Public Property

Line thickness, in millimeters, used to print objects with no defined thickness.


Public Property

Public Property

Public Property

Public Property

Public Property

Public Property

Public Property

Public Property

Public Property

Public Property

Rectangle where drawing is confined to on MediaSize


Public Property

Public Property

Public Property

Text drawn at the bottom of the output


Public Property

Text drawn at the top of the output


Public Property

Horizontal stretch to be applied to output. Useful for calibrating printers


Public Property

Returns true if the model has been scaled to fit.


Public Property

Public Property

Public Property

Default is true. Linetype scales are normally generated right before printing/view capture in order to get linetypes to print to the same lengths as defined. If false, the linetypes are not scaled and the current pattern lengths as seen on the screen as used.


Public Property

Total size of the image or page in dots


Public Property

Public Property

Public Property

Public Property

Size of point objects in millimeters. if scale <= 0 the size is minimized so points are always drawn as small as possible


Public Property

Public Property

Capture “density” in dots per inch.


Public Property

Font point size use for printing text dots. The default value is 10.0.


Public Property

Public Property

Vertical stretch to be applied to output. Useful for calibrating printers


Public Property

How the RhinoViewport is mapped to the output rectangle


Public Property

Scaling factor to apply to object print widths (typically 1.0). This is helpful when printing something at 1/2 scale and having all of the curves print 1/2 as thick.


Methods

Name

Description


Public Method

Create a ViewCaptureSettings based on this instance, but scaled to fit in a different sized area. Scaling is also performed on dpi. This is primarily used to for capturing images that are shown as print previews


Public Method

Actively reclaims unmanaged resources that this instance uses.


Public Method

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object.)


Public Method

Check if the contents of this object is the same as another object


Protected Method

Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().

(Overrides Object.Finalize..)


Public Method

GetHashCode

Serves as the default hash function.

(Inherited from Object.)


Public Method

Get distances from the edge of the paper (MediaSize) to the CropRectangle in a defined unit system


Public Method

Returns the model scale factor.


Public Method

Public Method

GetType

Gets the Type of the current instance.

(Inherited from Object.)


Public Method

Get RhinoViewport that this view capture settings is targeting


Public Method

Public Method

Adjust crop rectangle to match the aspect ratio of the original viewport that these settings reference


Public Method

Minimize cropping so the full drawable area is used


Protected Method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)


Public Method

Public Method

Public Method

Set the distance from the bottom edge of the paper to the CropRectangle


Public Method

Set the distance from the left edge of the paper to the CropRectangle


Public Method

Set the distance from the right edge of the paper to the CropRectangle


Public Method

Set distances from the edge of the paper (MediaSize) to the CropRectange in a defined unit system


Public Method

Set the distance from the top edge of the paper to the CropRectangle


Public Method

Scales the model to fit.


Public Method

Sets the model scale to a value.


Public Method

Public Method

Public Method

Set the print area to a window selection based on two points in screen coordinates


Public Method

Set the print area to a window selection based on two points in world coordinates


Public Method

ToString

Returns a string that represents the current object.

(Inherited from Object.)