[]
Tries to resolve the reference and return the GrapeCity.Documents.Pdf.Spec.IPdfObject of the specified type referenced by this IPdfRef.
public static bool TryResolve<T>(this IPdfRef pr, out T value, out bool isNull, bool addWarning) where T : IPdfObject
| Type | Name | Description |
|---|---|---|
| IPdfRef | pr | The current IPdfRef. |
| T | value | OUT: The referenced PDF indirect object. |
| bool | isNull | OUT: Indicates whether the referenced value is IPdfNull. |
| bool | addWarning | Indicates whether to add a warning if the reference cannot be resolved to an object of the specified type. |
| Type | Description |
|---|---|
| bool |
| Name | Description |
|---|---|
| T | The type of the indirect PDF object. |
Tries to return actual GrapeCity.Documents.Pdf.Spec.IPdfObject referenced by the IPdfRef.
public static bool TryResolve<T>(this IPdfRef pr, out T value, bool addWarning) where T : IPdfObject
| Type | Name | Description |
|---|---|---|
| IPdfRef | pr | The current IPdfRef. |
| T | value | OUT: The referenced PDF indirect object. |
| bool | addWarning | Indicates whether to add a warning if referenced can't be resolved to an object of specified type. |
| Type | Description |
|---|---|
| bool | true if successful, false otherwise. |
| Name | Description |
|---|---|
| T | The type of indirect PDF object. |