Sure.
As I wrote IUIDData need UIDRef of the document pointer
InterfacePtr<IDocument> iDoc(Utils<ILayoutUIUtils>()->GetFrontDocument(), UseDefaultIID());
InterfacePtr<IUIDData> theUIDData(setPasteboardCmd, UseDefaultIID());
theUIDData->Set(::GetUIDRef(iDoc));
IPMPoint data is a distance from the outer edge of the page to the edge of the pasteboard. Distance in points.
PMReal theXValue = 612.0; // distance from the right/left edge to the pasteboard
PMReal theYValue = 81.0; // distance from the top/bottom edge to the pasteboard
InterfacePtr<IPMPointData> thePointData(setPasteboardCmd, UseDefaultIID());
thePointData->Set(PMPoint(theXValue, theYValue));
Unfortunatelly i don't know why the X value is equal -500 in new document. And i couldn't find any samples.
I have read only documentation of kSetPasteboardPrefsCmdBoss.
Regards
Bartek