Hide Table of Contents
InsertAnnotationView Method (IModelDocExtension)

Inserts an annotation view in this part or assembly document.

.NET Syntax

Visual Basic (Declaration) 
Function InsertAnnotationView( _
   ByVal AnnotationViewingDirection As System.Integer, _
   ByVal DirectionReference As System.Object, _
   ByVal FlipDirection As System.Boolean, _
   ByVal HorizontalDirectionReference As System.Object, _
   ByVal AngleMadeWithHorizontal As System.Integer _
) As AnnotationView
Visual Basic (Usage) 
Dim instance As IModelDocExtension
Dim AnnotationViewingDirection As System.Integer
Dim DirectionReference As System.Object
Dim FlipDirection As System.Boolean
Dim HorizontalDirectionReference As System.Object
Dim AngleMadeWithHorizontal As System.Integer
Dim value As AnnotationView
 
value = instance.InsertAnnotationView(AnnotationViewingDirection, DirectionReference, FlipDirection, HorizontalDirectionReference, AngleMadeWithHorizontal)
C# 
AnnotationView InsertAnnotationView( 
   System.int AnnotationViewingDirection,
   System.object DirectionReference,
   System.bool FlipDirection,
   System.object HorizontalDirectionReference,
   System.int AngleMadeWithHorizontal
)
C++/CLI 
AnnotationView^ InsertAnnotationView( 
&   System.int AnnotationViewingDirection,
&   System.Object^ DirectionReference,
&   System.bool FlipDirection,
&   System.Object^ HorizontalDirectionReference,
&   System.int AngleMadeWithHorizontal
) 

Parameters

AnnotationViewingDirection
Defined by either any swStandardViews_e enumerator or 0 for selection
DirectionReference
If 0 specified for AnnotationViewingDirection, then specifiy a face or plane to define the direction of the annotation view
FlipDirection

True to flip the annotation view in the opposite direction, false to not

HorizontalDirectionReference
An edge, sketch, or face
AngleMadeWithHorizontal
Angle used to make the annotation view horizontal

Return Value

Newly inserted annotation view
 

See Also

Availability

SOLIDWORKS 2008 FCS, Revision Number 16.0


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   InsertAnnotationView Method (IModelDocExtension)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:



x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2018 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.