Skip to main content
View as Markdown

IComponentMetafilePainter interface

The IComponentMetaFilePainter interface is an internal interface that provides a mechanism to generate images into library reports within the Schematic Library Editor.

public interface IComponentMetafilePainter

Namespace: SCH · Assembly: Altium.SDK.Interfaces

Methods​

MethodReturnsDescription
DrawToMetafilevoidThis is for internal use.
SetComponentvoidThis is for internal use.

DrawToMetafile​

This is for internal use.

void DrawToMetafile(int argPartIndex, TPaintColorMode argPaintColorMode, TPaintScaleMode argScaleMode, string argFileName);
void DrawToMetafile(int argPartIndex, int argPaintColorMode, int argScaleMode, string argFileName);
ParameterTypePassing
argPartIndexintvalue
argPaintColorModeTPaintColorModevalue
argScaleModeTPaintScaleModevalue
argFileNamestringvalue

Returns: nothing (void)

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

See also: TPaintColorMode, TPaintScaleMode

SetComponent​

This is for internal use.

void SetComponent(string argLibReference, string argLibraryPath);
ParameterTypePassing
argLibReferencestringvalue
argLibraryPathstringvalue

Returns: nothing (void)

Returned by​

ISch_ServerInterface.CreateComponentMetafilePainter