WordContentControlPictureValue
OfficeIMO.Word
Represents a picture content-control value that can be extracted from or supplied to a form map.
Inheritance
- object
- WordContentControlPictureValue
Usage
Explore 3 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 3
Methods
public static WordContentControlPictureValue FromBytes(byte[] bytes, string fileName) #Creates a picture value from image bytes.
Parameters
- bytes byte[]
- fileName string
public static WordContentControlPictureValue FromFile(string filePath) #Creates a picture value from a local image path.
Parameters
- filePath string
Inherited Methods
Properties
public string? FilePath { get; } #Optional source file path for a replacement image.
public byte[]? Bytes { get; } #Embedded image bytes, when the value was extracted from package content or supplied from memory.
public string FileName { get; } #File name used to infer image type for byte-backed replacements.
public Uri? ExternalUri { get; } #External image URI when the extracted picture is linked instead of embedded.
public string? RelationshipId { get; } #Relationship id for an extracted external image, when available.
public bool IsExternal { get; } #True when the value describes an externally linked image.