Highlighted

Convert linked/embedded PDF, EPS

Explorer ,
Aug 28, 2020

Copy link to clipboard

Copied

Is there way we can convert  kPlacedPDFItemBoss OR kEPSItem type graphics to image using Indesing SDK?

 

InterfacePtr<IHierarchy> iHierarchy(this->m_pageItemUIDRef, UseDefaultIID());

afs_pci_transform transformProperty;
GetShapeTransform(this->m_pageItemUIDRef,&transformProperty);

if(iHierarchy != nil)
{
    if(::GetClass(iHierarchy) == kSplineItemBoss && iHierarchy -> GetChildCount() > 0)
    {
        InterfacePtr<IHierarchy> child(iHierarchy->QueryChild(0));
        ClassID classid = ::GetClass(child);
        
        //kPlacedPDFItemBoss
        //kEPSItem
    }
}

 

TOPICS
SDK

Views

34

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Convert linked/embedded PDF, EPS

Explorer ,
Aug 28, 2020

Copy link to clipboard

Copied

Is there way we can convert  kPlacedPDFItemBoss OR kEPSItem type graphics to image using Indesing SDK?

 

InterfacePtr<IHierarchy> iHierarchy(this->m_pageItemUIDRef, UseDefaultIID());

afs_pci_transform transformProperty;
GetShapeTransform(this->m_pageItemUIDRef,&transformProperty);

if(iHierarchy != nil)
{
    if(::GetClass(iHierarchy) == kSplineItemBoss && iHierarchy -> GetChildCount() > 0)
    {
        InterfacePtr<IHierarchy> child(iHierarchy->QueryChild(0));
        ClassID classid = ::GetClass(child);
        
        //kPlacedPDFItemBoss
        //kEPSItem
    }
}

 

TOPICS
SDK

Views

35

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Aug 28, 2020 0
Advisor ,
Aug 28, 2020

Copy link to clipboard

Copied

Have a look at SnapshotUtils.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 28, 2020 0