Highlighted

GetBoundsKind and SetBoundingBoxData

Community Beginner ,
Oct 21, 2020

Copy link to clipboard

Copied

Hi,

 

I am trying to send the kSetBoundingBoxCmdBoss command to an existing box containing a InD native table. I want to retain the existing bounding box style after resize.

 

I am having difficulty in understanding what parameter to provide to the 3rd argument of SetBoundingBoxData which specifies the bound kind. 

 

It seems logical to me to somehow get it in the first place and store it before calling SetBouningBoxData, and then pass the same as the third argument to SetBoundingBoxData. But I can't put together this piece of code as the documentation is pretty thin.

 

Any help is appreciated.

 

Thanks

TOPICS
How to, SDK

Views

48

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

GetBoundsKind and SetBoundingBoxData

Community Beginner ,
Oct 21, 2020

Copy link to clipboard

Copied

Hi,

 

I am trying to send the kSetBoundingBoxCmdBoss command to an existing box containing a InD native table. I want to retain the existing bounding box style after resize.

 

I am having difficulty in understanding what parameter to provide to the 3rd argument of SetBoundingBoxData which specifies the bound kind. 

 

It seems logical to me to somehow get it in the first place and store it before calling SetBouningBoxData, and then pass the same as the third argument to SetBoundingBoxData. But I can't put together this piece of code as the documentation is pretty thin.

 

Any help is appreciated.

 

Thanks

TOPICS
How to, SDK

Views

49

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
Oct 21, 2020 0
New Here ,
Oct 30, 2020

Copy link to clipboard

Copied

I am using Geometry::PathBounds() or Geometry::OuterStrokeBounds() as Geometry::BoundsKind.

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...
Oct 30, 2020 0