textHorizontalBlockAlign

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Auxiliary function
Introduced first in SolidGeometry 3.2, Creation date: 2016-12-30, Last change: 2025-09-14

returns cell of strings which length are limited in length

Description

The first part of the video shows joints without a boundary', 'The second part shows the automatic creation of a missing link between the revolute joint and cylindrical joint



See Also: CPLoftext , str2codelines , paste2code , clipboardrem , clipboardadd , cell2strlines , strbreaklines

Example Illustration

 missing image of textHorizontalBlockAlign(ncol,A)

Syntax

B=textHorizontalBlockAlign(ncol,A)

Input Parameter

ncol: maximum number of letters in a row [c r]
A: cell of strings

Output Parameter

B: cell of string

Examples

shorten the text to a maximum of 4 chars
textHorizontalBlockAlign(4,'123456789-12456789-');
textHorizontalBlockAlign (13,'123456789-123456789-123456789-');
textHorizontalBlockAlign (13,{'123456789-123456789','-123456789-'});
textHorizontalBlockAlign ([13 8],{'123456789-123456789','-123456789-'});




Copyright 2016-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-09-21