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 Integer, _
   ByVal DirectionReference As Object, _
   ByVal FlipDirection As Boolean, _
   ByVal HorizontalDirectionReference As Object, _
   ByVal AngleMadeWithHorizontal As Integer _
) As AnnotationView
Visual Basic (Usage) 
Dim instance As IModelDocExtension
Dim AnnotationViewingDirection As Integer
Dim DirectionReference As Object
Dim FlipDirection As Boolean
Dim HorizontalDirectionReference As Object
Dim AngleMadeWithHorizontal As Integer
Dim value As AnnotationView
 
value = instance.InsertAnnotationView(AnnotationViewingDirection, DirectionReference, FlipDirection, HorizontalDirectionReference, AngleMadeWithHorizontal)
C# 
AnnotationView InsertAnnotationView( 
   int AnnotationViewingDirection,
   object DirectionReference,
   bool FlipDirection,
   object HorizontalDirectionReference,
   int AngleMadeWithHorizontal
)
C++/CLI 
AnnotationView^ InsertAnnotationView( 
&   int AnnotationViewingDirection,
&   Object^ DirectionReference,
&   bool FlipDirection,
&   Object^ HorizontalDirectionReference,
&   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) 2012 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.