Table of Contents

CadRemoteScreenshot

from OpenCAD2D.Remote import CadRemoteScreenshot

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

The picture of the app's drawing canvas, as CadApplication.GetScreenshot reads it.

Properties and fields

Document

.NET

@property
def Document(self) -> str

Gets the name of the drawing shown.

Height

.NET

@property
def Height(self) -> int

Gets the height in pixels.

Png

.NET

@property
def Png(self) -> System.Array[int]

Gets the PNG file's bytes: 8-bit red, green and blue, the pixels the window composes its cursor, grips and command line over.

View

.NET

@property
def View(self) -> System.Array[float]

Gets the part of the drawing the canvas shows, [minX, minY, maxX, maxY] in the units of the drawing.

Width

.NET

@property
def Width(self) -> int

Gets the width in pixels.