Table of Contents

CadImageFormat

from OpenCAD2D import CadImageFormat

class CadImageFormat(System.Enum) ยท CadImageFormat in the .NET reference

The kinds of file PNGOUT, JPGOUT and BMPOUT write.

Values

Bmp

.NET

Bmp: ClassVar[CadImageFormat]

A bitmap of 24 bits a pixel, as BMPOUT writes.

Jpeg

.NET

Jpeg: ClassVar[CadImageFormat]

A JPEG at a fixed quality of 90, as JPGOUT writes.

Png

.NET

Png: ClassVar[CadImageFormat]

A PNG of 8-bit red, green and blue, as PNGOUT writes.

Constructors

__init__

def __init__(self, value: int) -> None

Operators and Python protocols

__int__

def __int__(self) -> int