Name
  doc:CreateExtGState -- create extended graphics state object
Synopsis

      egs = doc:CreateExtGState()

Function
  `doc:CreateExtGState()` creates a new extended graphics state object.

  When `doc:CreateExtGState()` succeeds, it returns the handle of the created extended graphics state object. Otherwise, it returns `Nil` and the error handler is invoked.

Inputs
  none

Results
  egs
    handle to an extended graphics state object
Errors
  `#HPDF_INVALID_DOCUMENT` - An invalid document handle was set.

  `#HPDF_FAILED_TO_ALLOC_MEM` - Memory allocation failed.

Show TOC