Table of Contents

CadImageAdjustRequest

from OpenCAD2D import CadImageAdjustRequest

class CadImageAdjustRequest(System.Object) ยท CadImageAdjustRequest in the .NET reference

What IMAGEADJUST gives its Image Adjust dialog: the images selected, the brightness, contrast and fade it starts at (the image's own where one is selected, AutoCAD's 50, 50 and 0 where several are) and the picture of the first, for the preview; the values set, each 0 to 100, are given to the images when it closes with OK, as one undo step.

Properties and fields

Brightness

.NET

@property
def Brightness(self) -> int
@Brightness.setter
def Brightness(self, value: int) -> None

Gets or sets the brightness, 0 to 100.

Contrast

.NET

@property
def Contrast(self) -> int
@Contrast.setter
def Contrast(self, value: int) -> None

Gets or sets the contrast, 0 to 100.

Count

.NET

@property
def Count(self) -> int

Gets how many images are adjusted.

Fade

.NET

@property
def Fade(self) -> int
@Fade.setter
def Fade(self, value: int) -> None

Gets or sets the fade, 0 to 100.

ImageFile

.NET

@property
def ImageFile(self) -> str | None

Gets the file of the first image's picture where it is found; null where it is not.

IsAccepted

.NET

@property
def IsAccepted(self) -> bool
@IsAccepted.setter
def IsAccepted(self, value: bool) -> None

Gets or sets whether the dialog closed with OK.