PCBI_Connection Class

Definition

Namespace: PCBI_SVG
Assembly: PCBI_SVG_ImportExport (in PCBI_SVG_ImportExport.dll) Version: 17.0.0.0 (17.0.0.0)
C#
public class PCBI_Connection : IPluginRibbonCommand, 
	IPlugin, IPluginMessageReceiver, IPluginExternalDataLayerHandler, IPluginDataImporter, IPluginClipboardData
Inheritance
Object    PCBI_Connection
Implements
IPluginClipboardData, IPlugin, IPluginDataImporter, IPluginExternalDataLayerHandler, IPluginMessageReceiver, IPluginRibbonCommand

Constructors

PCBI_ConnectionInitializes a new instance of the PCBI_Connection class

Properties

Methods

CanCopy 
CanPaste 
CheckImportCompatibility Checks the compatibility of the importer with the given file extension and file content excerpt
Copy 
ExportSVG Exports the svg to a file
ExportSVGAsStream(SVGDrawSettings, MemoryStream, String) Exports the svg to a stream to use afterwards
ExportSVGAsStream(SVGDrawSettings, IStep, MemoryStream, String) 
GetContainedFormats 
GetExternalDataLayerFor 
GetFormatDescription 
GetImporterFormatType Returns the format type of the importer
ImportData Imports the data from the given file
InitEvents 
IsActionAllowed 
Paste(IDataObject, String) 
Paste(IDataObject, String, String) 
ReceiveMessage 

Explicit Interface Implementations

IPluginRibbonCommandOnCommandExecute Will be called with each command to execute.
IPluginRibbonCommandRegisterCommand Register your own commands here like this: int MyCmdID = Parent.UIAction.RegisterID(new PCBI.Plugin.Interfaces.IRegisterItem() { Text = PCB_Investigator.Localization.PCBILocalization.TranslateToCurrentLanguage("CommandName"), MetroStyleIcon = icon, ToolTip = "...", RegisterType = RegisterItemType.BUTTON, GUID = "ID_MY_COMMAND", Category = "PlugIn", EnableOn = Availability.Always });

See Also