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
| Method | Returns | Description |
|---|---|---|
| DrawToMetafile | void | This is for internal use. |
| SetComponent | void | This 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);
| Parameter | Type | Passing |
|---|---|---|
argPartIndex | int | value |
argPaintColorMode | TPaintColorMode | value |
argScaleMode | TPaintScaleMode | value |
argFileName | string | value |
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);
| Parameter | Type | Passing |
|---|---|---|
argLibReference | string | value |
argLibraryPath | string | value |
Returns: nothing (void)