Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

OPC_URI_TARGET_MODE enumeration

Indicates the target mode of a relationship.

Syntax


typedef enum  { 
  OPC_URI_TARGET_MODE_INTERNAL  = 0,
  OPC_URI_TARGET_MODE_EXTERNAL  = 1
} OPC_URI_TARGET_MODE;

Constants

OPC_URI_TARGET_MODE_INTERNAL

The target of the relationship is a part inside the package.

OPC_URI_TARGET_MODE_EXTERNAL

The target of the relationship is a resource outside of the package.

Remarks

If the relationship's target mode is OPC_URI_TARGET_MODE_INTERNAL the URI of the target part is relative to the URI of the source of the relationship.

To get the URI of the target of the relationship, call the IOpcRelationship::GetTargetUri method.

For more information about relationships, see the Open Packaging Conventions Fundamentals and the ECMA-376 OpenXML, 1st Edition, Part 2: Open Packaging Conventions (OPC).

Requirements

Header

Msopc.h

IDL

Opcbase.idl

See also

Packaging Enumerations
Overviews
Open Packaging Conventions Fundamentals
Getting Started with the Packaging API
Packaging API Programming Guide
Relationships Overview
Reference
IOpcRelationship
IOpcRelationshipSet::CreateRelationship
Packaging Interfaces
Packaging API Samples
External Resources
ECMA-376 OpenXML standard

 

 

Community Additions

ADD
Show:
© 2015 Microsoft