GH_Canvas.GH_ImageSettings

References
Settings class for high-resolution image output.

Constructors

GH_ImageSettings

#
public GH_ImageSettings()
Create a new instance of the GH_ImageSettings class with default values.

GH_ImageSettings

#
public GH_ImageSettings(string filePath)
Create a new instance of the GH_ImageSettings class.
filePath (string)Target location for image.

GH_ImageSettings

#
public GH_ImageSettings(string folder, string filename, string extension)
Create a new instance of the GH_ImageSettings class.
folder (string)Folder for target image.
filename (string)File name of target image.
extension (string)Image extension for target image.

Properties

BackColour

#
public Color BackColour { get; set; }
Gets or sets the background colour to use for the high-resolution rendering.

Extension

#
public string Extension { get; set; }
Gets or sets the image extension of the target image.

FileName

#
public string FileName { get; set; }
Gets or sets the filename of the target image.

Folder

#
public string Folder { get; set; }
Gets or sets the folder in which the target image will be saved.

TileSize

#
public static Size TileSize { get; }
Gets the default tile size for high-resolution export. This is a constant value.

Zoom

#
public float Zoom { get; set; }
Gets or sets the zoom at which to export the high-resolution image.