System.Object Aspose.Pdf.Operator Aspose.Pdf.Operator.Q

The sample on how to add an image to a pdf talks about the System.Object Aspose.Pdf.Operator Aspose.Pdf.Operator.Q class. but I can’t seem to find the class…

Hello Nanno,

Thanks for using our products.

You can find
Operator.Q class under Aspose.Pdf Namespace. Please try accessing it and in case you still face any problem or you have any further query, please feel free to contact. We apologize for your inconvenience.

Hello,


We’ve downloaded the trial version of the ASPOSE.PDF library to see if it will help us quickly complete our task, and the lib file is missing the Q operator within the VS2010 object browser.

Any help would be much appreciated.

Thank you,
Mason

Hi Mason,

Thank you for sharing the details.

Kindly use the latest version of Aspose.Pdf v6.6 and change the operator as mentioned below.

//using GSave operator: this operator saves current graphics state

Aspose.Pdf.Operator.GSave() instead of q Operator

//using GRestore operator: this operator restores graphics state

Aspose.Pdf.Operator.GRestore() instead of Q Operator

Also, we will update our documentation with the latest update soon. Sorry for the inconvenience.

Thanks & Regards,