Skip to main content
View as Markdown

IDocumentPainterView interface

The IDocumentPainterView interface is an internal interface for the Schematic Editor and it represents the Mini Viewer facility. This is for internal use.

public interface IDocumentPainterView

Namespace: SCH · Assembly: Altium.SDK.Interfaces

Properties​

PropertyTypeAccessDescription
DocumentToPaintISch_DocumentsetThis is for internal use.

DocumentToPaint​

This is for internal use.

void SetState_DocumentToPaint(ISch_Document argDocument);

Type: ISch_Document · Access: write-only

The accessors are extension methods of IDocumentPainterViewHelper (using SCH;).

Methods​

MethodReturnsDescription
DrawCurrentZoomRectangle_InvertvoidThis is for internal use.
GetStringMaxMinvoid
Invalidatevoid
PaintSingleObjectvoidThis is for internal use.
RedrawvoidThis is for internal use.
RefreshvoidThis is for internal use.
RefreshCurrentZoomWindowvoidThis is for internal use.

DrawCurrentZoomRectangle_Invert​

This is for internal use.

void DrawCurrentZoomRectangle_Invert();

Returns: nothing (void)

GetStringMaxMin​

No description yet.

void GetStringMaxMin(Point argLocation, string argText, int argFontId, out CoordRect argBoundingRect);
void GetStringMaxMin(IPoint argLocation, string argText, int argFontId, out ICoordRect argBoundingRect);
ParameterTypePassing
argLocationPointvalue
argTextstringvalue
argFontIdintvalue
argBoundingRectCoordRectout

Returns: nothing (void)

The first overload is an extension method of IDocumentPainterViewHelper (using SCH;) with typed parameters; the second is declared by the interface.

Invalidate​

No description yet.

void Invalidate();

Returns: nothing (void)

PaintSingleObject​

This is for internal use.

void PaintSingleObject(ISch_GraphicalObject argGraphicalObject);
void PaintSingleObject(object argGraphicalObject);
ParameterTypePassing
argGraphicalObjectISch_GraphicalObjectvalue

Returns: nothing (void)

The first overload is an extension method of IDocumentPainterViewHelper (using SCH;) with typed parameters; the second is declared by the interface.

Redraw​

This is for internal use.

void Redraw(ISch_GraphicalObject argGraphicalObject);
void Redraw(object argGraphicalObject);
ParameterTypePassing
argGraphicalObjectISch_GraphicalObjectvalue

Returns: nothing (void)

The first overload is an extension method of IDocumentPainterViewHelper (using SCH;) with typed parameters; the second is declared by the interface.

Refresh​

This is for internal use.

void Refresh();

Returns: nothing (void)

RefreshCurrentZoomWindow​

This is for internal use.

void RefreshCurrentZoomWindow();

Returns: nothing (void)

Returned by​

ISch_ServerInterface.CreateDocumentPainter