[]
Returns the GrapeCity.Documents.Pdf.Spec.IPdfObject referenced by this IPdfRef, or null if the referenced object cannot be fetched.
public static IPdfObject Resolve(this IPdfRef ipr)
| Type | Name | Description |
|---|---|---|
| IPdfRef | ipr | The current IPdfRef. |
| Type | Description |
|---|---|
| IPdfObject | The referenced indirect object. |
Return actual GrapeCity.Documents.Pdf.Spec.IPdfObject referenced by the IPdfRef.
public static T Resolve<T>(this IPdfRef pr, bool addWarning = true) where T : IPdfObject
| Type | Name | Description |
|---|---|---|
| IPdfRef | pr | The current IPdfRef. |
| bool | addWarning | Indicates whether to add a warning if referenced can't be resolved to an object of specified type. |
| Type | Description |
|---|---|
| T | The referenced PDF indirect object. |
| Name | Description |
|---|---|
| T | The type of indirect PDF object. |