Table of Contents

Method Pixels

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Pixels(int, int)

Makes a size of an image of the user's own, as Custom Image Size makes it: 2480 x 1754 Pixels (Custom).

public static CadPaper Pixels(int width, int height)

Parameters

width int

The width in pixels, MinPixels to MaxPixels.

height int

The height in pixels, as the width.

Returns

CadPaper

The size: the listed one where it is one of PixelSizes.

Exceptions

ArgumentOutOfRangeException

Thrown when a side is outside 16 to 8 000.