October 9, 2019 APEX, Oracle No Comments

APEX Office Print (AOP) is a great document printing library for Oracle APEX. While using AOP to print IR or Chart regions into document, you may like to use “aop-region-as” attribute to inform AOP printing engine to print output in different formats.

Following are the attribute values, you may set:

client_svg: This will create SVG object in the div. You may use it as {%region}.
client_canvas: This will create CANVAS object in the div. You may use it as {%region}.
server_html: This will put exact html of region inside a div. You may use it as {_region}.
client_html: This will put browser html of region inside a div. You may use it as {_region}.
client_screenshot: This will capture region screenshot rendered in client browser window. You may use it as {%region}.

To use this tag, while you are setting regions to be printed into your AOP template, you provide static ID of that region. Along with that enter one of the following attribute into Custom Attribute section of that region.

aop-region-as=”client_svg”
aop-region-as=”client_canvas”
aop-region-as=”server_html”
aop-region-as=”client_html”
aop-region-as=”client_screenshot”

Hope this helps!

Regards,
Jaydip Bosamiya
jbosamiya@gmail.com

Written by Jaydip Bosamiya