ISaveImageParams

class ISaveImageParams

Bases: ImpactCOMWrapperBase

Description:

Settings to be used with the IDrawing.save_drawing_as_image method.

Remarks:

Introduced in Impact 8.0.0.47

Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance

property bottom_border_size

Gets bottom_border_size.

Description:

Size of border (in distance units, such as millimetres) on the bottom of the image.

Returns:

The value of bottom_border_size.

Return type:

bottom_border_size (float)

property file_format

Gets file_format.

Description:

The format of the file to be created.

Remarks:

Note that not all values provided by ipFileFormat may be used. The values most often used are ffJPG, ffPNG or ffBitmap.

Returns:

The value of file_format.

Return type:

file_format (ipFileFormat)

property file_path

Gets file_path.

Description:

The full path name of the image file to be created.

Returns:

The value of file_path.

Return type:

file_path (str)

property image_format_params

Gets image_format_params.

Description:

An IImageFormatParams object describing the image size and resolution.

Returns:

The value of image_format_params.

Return type:

image_format_params (IImageFormatParams)

property left_border_size

Gets left_border_size.

Description:

Size of border (in distance units, such as millimetres) on the left side of the image.

Returns:

The value of left_border_size.

Return type:

left_border_size (float)

property right_border_size

Gets right_border_size.

Description:

Size of border (in distance units, such as millimetres) on the right side of the image.

Returns:

The value of right_border_size.

Return type:

right_border_size (float)

property top_border_size

Gets top_border_size.

Description:

Size of border (in distance units, such as millimetres) on the top of the image.

Returns:

The value of top_border_size.

Return type:

top_border_size (float)