public uint getGStateDepth()

Gets the number of the page's graphics state stack.

Returns

when getGStateDepth() succeed, it returns the number of the page's graphics state stack. Otherwise it returns 0.