You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returns an error (for the Russian version) pywintypes.com_error: (-2147352567, 'Ошибка.', (30477, 'C:\\Program Files\\Adobe\\Adobe InDesign CC 2018\\InDesign.exe', 'Некорректное значение параметра "OpposingCorners" метода "Reframe". Ожидалось Array of 2 Arrays of 2 Doubles, получено (10).', None, 0, 0), None)
machine translation: pywintypes.com_error: (-2147352567, 'Error.', (30477, 'C:\\Program Files\\Adobe\\Adobe InDesign CC 2018\\InDesign.exe ', 'Invalid value of the "OpposingCorners" parameter of the "Reframe" method. Expected Array of 2 Arrays of 2 Doubles, received (10).', None, 0, 0), None)
how to return an Array of 2 Arrays of 2 doubles?
Comment for the function:
def Reframe(self, In=defaultNamedNotOptArg, OpposingCorners=defaultNamedNotOptArg):
'Move the bounding box of the page item.
In: The bounding box to resize. Type: idCoordinateSpaces enumerator or Ordered array containing CoordinateSpace:idCoordinateSpaces enumerator, BoundsKind:idBoundingBoxLimits enumerator.
OpposingCorners: Opposing corners of new bounding box in the given coordinate space. Type: Array of 2 Arrays of 2 Doubles'
The text was updated successfully, but these errors were encountered:
Code
app.activeDocument.pages(2).Reframe(In=2021225328, OpposingCorners= [[10, 11], [12, 13]])
returns an error (for the Russian version)
pywintypes.com_error: (-2147352567, 'Ошибка.', (30477, 'C:\\Program Files\\Adobe\\Adobe InDesign CC 2018\\InDesign.exe', 'Некорректное значение параметра "OpposingCorners" метода "Reframe". Ожидалось Array of 2 Arrays of 2 Doubles, получено (10).', None, 0, 0), None)
machine translation:
pywintypes.com_error: (-2147352567, 'Error.', (30477, 'C:\\Program Files\\Adobe\\Adobe InDesign CC 2018\\InDesign.exe ', 'Invalid value of the "OpposingCorners" parameter of the "Reframe" method. Expected Array of 2 Arrays of 2 Doubles, received (10).', None, 0, 0), None)
how to return an Array of 2 Arrays of 2 doubles?
Comment for the function:
The text was updated successfully, but these errors were encountered: