C# |
Scroll |
IKompasDocument kompasDoc = KomApp.ActiveDocument;
IDrawingDocument doc2D = (IDrawingDocument) kompasDoc; // Здесь выполнится QueryInterface
или
IDrawingDocument doc2D = (IDrawingDocument) KomApp.ActiveDocument // Здесь выполнится QueryInterface
Подразделы:
(отсутствуют)